home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 39 / Issue 39.iso / pc / MacUtilities / 00023_Tool2.ls < prev    next >
Encoding:
Text File  |  2000-10-18  |  663 b   |  29 lines

  1. on mouseWithin
  2.   if sprite(the currentSpriteNum).foreColor = 70 then
  3.     sprite(the currentSpriteNum).foreColor = 70
  4.     put EMPTY into member "Infofield"
  5.   else
  6.     if member("Title2").foreColor <> 70 then
  7.       cursor(280)
  8.       member("Title2").foreColor = 0
  9.       sprite(the currentSpriteNum).foreColor = 255
  10.     end if
  11.   end if
  12. end
  13.  
  14. on mouseLeave
  15.   cursor(0)
  16.   if sprite(the currentSpriteNum).foreColor = 70 then
  17.     sprite(the currentSpriteNum).foreColor = 70
  18.   else
  19.     if member("Title2").foreColor <> 70 then
  20.       member("Title2").foreColor = 255
  21.       sprite(the currentSpriteNum).foreColor = 246
  22.     end if
  23.   end if
  24. end
  25.  
  26. on mouseUp
  27.   go("Title2")
  28. end
  29.